package com.itheima.reggie.service.exception;

//声明该用户名已存在
public class CustomException extends RuntimeException{

    private String msg;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public CustomException(String msg) {
        this.msg = msg;
    }
}
